/*
    @file: log/logger/LogData.h
    @author: Wolfhead
*/
#ifndef _LOG_LOG_DATA_H_
#define _LOG_LOG_DATA_H_


#include "LogContext.h"
#include "LogPriority.h"

namespace logger
{

class LogData
{
public:

    LogData(const LogContext& context_)
        : context(context_)
    {

    }

    LogPriority  priority;
    std::string  name;
    std::string  message;
    LogContext   context;
    bool         byname;
};

typedef boost::shared_ptr<LogData> LogDataPtr;

}//namespace logger

#endif // #ifndef _LOG_LOG_DATA_H_
